#ifndef STX_ALGORITHM_FILL_N_HPP
#define STX_ALGORITHM_FILL_N_HPP

#include <stx/algorithm/common.hpp>

namespace stx {

template <class OutputIterator, class Size, class T>
inline OutputIterator
fill_n(OutputIterator first, Size n, const T& value, false_type)
{
    for (; n > 0; ++first, --n) {
        *first = value;
    }
    return first;
}

} // namespace stx

#endif // STX_ALGORITHM_FILL_N_HPP
